<!DOCTYPE html>

<html>
<head>
    <style>
        #resizing {
            width: 400px;
            border: 1px solid black;
            will-change: transform;
        }

        #resizing > div {
            height: 50px;
            margin: 1px;
            background-color: silver;
        }
    </style>
    <script src="../resources/text-based-repaint.js"></script>
    <script>
        function repaintTest()
        {
            var resizingDiv = document.getElementById('resizing');
            
            for (var i = 0; i < 2; ++i) {
                var newDiv = document.createElement('div');
                resizingDiv.appendChild(newDiv);
            }
        }

        window.onload = runRepaintAndPixelTest;
    </script>
</head>
<body>

<div id="resizing">
  <div></div>
  <div></div>
</div>

</body>
</html>
